package common;

/**
 * 边的描述
 */
public class Edge {
    public int weight; // 边的长度
    public GrapNode from;
    public GrapNode to;

    public Edge(int weight, GrapNode from, GrapNode to) {
        this.weight = weight;
        this.from = from;
        this.to = to;
    }
}
